package com.sandasai.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * Worktype entity. @author MyEclipse Persistence Tools
 */

public class Worktype implements java.io.Serializable {

	// Fields

	private Integer id;
	private String typeName;
	private Set works = new HashSet(0);

	// Constructors

	/** default constructor */
	public Worktype() {
	}

	/** minimal constructor */
	public Worktype(String typeName) {
		this.typeName = typeName;
	}

	/** full constructor */
	public Worktype(String typeName, Set works) {
		this.typeName = typeName;
		this.works = works;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTypeName() {
		return this.typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Set getWorks() {
		return this.works;
	}

	public void setWorks(Set works) {
		this.works = works;
	}

}